package com.rany.day02;

public class DemoStringConvert {
    public static void main(String[] args) {
        String str = "qwertyuigfds";
        char[] chars = str.toCharArray();
        System.out.println(chars);
        int length = chars.length;
        byte[] bytes = str.getBytes();
        System.out.println(bytes);
        String replace = str.replace("qwe", "aaa");
        System.out.println(replace);
    }
}
